#pragma once
#include "afxwin.h"
#include "Dlg/Dlgstopwork.h"

// CDlgProcessingPane dialog

class CMotionControlSoftwareDoc;
class CDlgProcessingPane : public CDialogEx
{
	DECLARE_DYNAMIC(CDlgProcessingPane)
	CDlgstopwork m_dlgStopWork;
	CMotionControlSoftwareDoc* m_pDoc;

public:
	CDlgProcessingPane(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgProcessingPane();

	static UINT ThreadManualWork( LPVOID pParam);
	void BeginManualWork();

// Dialog Data
	enum { IDD = IDD_DLG_ProcessingPane };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedCheckTestlaser();
//	afx_msg void OnBnClickedCheckTestabsorption();
	afx_msg void OnBnClickedCheckTestgas();
	afx_msg void OnBnClickedButtonWork();
	CComboBox m_comboWorkStyle;
	CComboBox m_comboCCDStyle;		 
	afx_msg void OnBnClickedCheckNolasermark();
//	afx_msg void OnCbnSelchangeComboWorkmode();
	afx_msg LRESULT UpdateActiveDoc(WPARAM wParam, LPARAM lParam);
	virtual BOOL OnInitDialog();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	bool UpdateDoc();
	afx_msg void OnBnClickedBtnOpenezd();
	afx_msg void OnBnClickedBtnInitezd();
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnCbnSelchangeComboWorkmode();
	afx_msg void OnBnClickedCheckTestcylinder();
	afx_msg void OnBnClickedCheckTestgreenlight();
	afx_msg void OnBnClickedCheckTestwarnning();
	afx_msg void OnBnClickedCheckTestfeed();
	afx_msg void OnBnClickedCheckTestunloading();
	afx_msg void OnBnClickedCheckTestready();
	afx_msg void OnBnClickedCheckTestrunning();
	afx_msg void OnBnClickedCheckTesthand();
//	afx_msg void OnBnClickedCheckResetautowork();
//	afx_msg void OnBnClickedButtonTesthand();
//	afx_msg void OnBnClickedButtonReset();
	afx_msg void OnBnClickedButtonTesthand();
	afx_msg void OnBnClickedButtonResetsignal();
	afx_msg void OnBnClickedButtonResetauto();
	afx_msg void OnBnClickedButtonTest2();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnBnClickedButtonPause();
	afx_msg void OnBnClickedButtonContinue();
	afx_msg void OnCbnSelchangeComboCcdmode();
};
